<style tyle="text/css">
  .modal-lg {
    width: 40%;
  }
</style>
<div class="modal-header">
  <h4 class="modal-title">设置卡有效期</h4>
</div>
<div class="modal-body">

  <form name="form" class="form-horizontal">
    <div class="form-group">
      <div class="col-lg-3 control-label">开始时间:</div>
      <div class="col-lg-6">
        <div class="input-group">
          <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date.lable" is-open="date.opened"
            readonly close-text="关闭" current-text="今天" clear-text="清除" ng-required="true"/>
          <span class="input-group-btn">
            <button type="button" class="btn btn-default" ng-click="dateOpen($event, date)">
              <i class="glyphicon glyphicon-calendar"></i>
            </button>
          </span>
        </div>
      </div>
    </div>
    <div class="form-group">
      <div class="col-lg-3 control-label">结束时间:</div>
      <div class="col-lg-6">
        <div class="input-group">
          <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date1.lable" is-open="date1.opened"
            readonly close-text="关闭" current-text="今天" clear-text="清除" ng-required="true"/>
          <span class="input-group-btn">
            <button type="button" class="btn btn-default" ng-click="dateOpen($event, date1)">
              <i class="glyphicon glyphicon-calendar"></i>
            </button>
          </span>
        </div>
      </div>
    </div>
  </form>


</div>

<div class="modal-footer">
  <button class="btn btn-success" type="button" ng-click="ok()">确定</button>
  <button class="btn btn-danger" type="button" ng-click="close()">关闭</button>
</div>
